import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';

import render from '@dfeidao/atom-web/render/render';
////////////////////////////////////////////////////////////////////////////////
import p001 from './p001';


////////////////////////////////////////////////////////////////////////////////
export default async function a000(fd: IFeidaoAiBrowserComponent) {

	const staffName = fd.data.node.querySelector<HTMLInputElement>('#staffName').value;
	console.log(staffName);
	const dataArray = [
		{
			id: '0001',
			staffName: '小明',
			staffNumber: '123',
			staffTel: '15875666886',
			staffGangwei: '置业顾问',
			staffRole: 'admin',
			staffClass: '信息一部',
			staffIdcard: '410826199608168609',
			creatTime: '2019-08-15'
		}, {
			id: '0002',
			staffName: '小王',
			staffNumber: '122222',
			staffTel: '15875666886',
			staffGangwei: '置业顾问',
			staffRole: 'admin',
			staffClass: '信息一部',
			staffIdcard: '410826199608168609',
			creatTime: '2019-08-18'
		}
	];
	render(fd, dataArray, p001, 'p001', 'inner');

	// console.log(res)

}

